package be.vdabantwerpen.gow.services;

import java.util.List;

import be.vdabantwerpen.gow.entities.Post;
import be.vdabantwerpen.gow.entities.GOWUser;

public interface PostService
{
	public abstract void create(Post post);
	
	public abstract Post read(int postId);
	
	public abstract void update(Post post);
	
	public abstract void delete(Post post);
	
	public abstract List<Post> findAll();
        
        public abstract List<Post> findByUser(GOWUser user);
        
        public abstract List<Post> findMostRecent();
	
}
